/*
 * Chrono.h
 *
 *  Created on: 22/mag/2012
 *      Author: matteo
 */

#ifndef CHRONO_H_
#define CHRONO_H_

#include <boost/chrono.hpp>

class Chrono {
public:
	Chrono();
	virtual ~Chrono();
	void start();
	void end();
	double time_elapsed();
private:
	boost::chrono::system_clock::time_point m_time;
	boost::chrono::duration<double> 		m_sec;
};

#endif /* CHRONO_H_ */
